#!/bin/sh
BINARY_DIR="/home/lckfb/Desktop/git/lvgl_linux_tft/"
BINARY_NAME="demo"

echo "openopenopen" >> /home/lckfb/Desktop/man.txt
sudo chmod 777 /sys/class/gpio/export
sudo echo "97" > /sys/class/gpio/export
sudo echo "98" > /sys/class/gpio/export

sudo echo "99" > /sys/class/gpio/export
sudo echo "100" > /sys/class/gpio/export
sudo echo "101" > /sys/class/gpio/export
sudo echo "102" > /sys/class/gpio/export

sudo echo "out" > /sys/class/gpio/gpio99/direction
sudo echo "out" > /sys/class/gpio/gpio100/direction
sudo echo "out" > /sys/class/gpio/gpio101/direction
sudo echo "out" > /sys/class/gpio/gpio102/direction

sudo /home/lckfb/Desktop/git/lvgl_linux_tft/demo
echo "ok"

